from PyQt5.Qt import QApplication
from PyQt5.QtWidgets import QWidget,QPushButton,QVBoxLayout
import plugins.demo_plugin.functions as pf
class PluginDemoWidget(QWidget):
    def __init__(self):
        super().__init__()
        layout=QVBoxLayout()
        self.button= QPushButton('点击执行函数！aaa')
        layout.addWidget(self.button)
        self.button.clicked.connect(self.print_func)
        self.setLayout(layout)
        print('插件加载完成！')

    def print_func(self):
        print(pf.func.hello())
        print(12344444553*88)